export interface SiteContentValue {
	cdn: boolean;
	url: string;
	originValue: string;
	file: string;
}

export interface SiteContent {
	script: SiteContentValue[];
	link: SiteContentValue[];
	img: SiteContentValue[];
}

export interface ParseConfig {
	tag: keyof SiteContent;
	name: string;
}

export const siteContent: SiteContent = {
	script: [],
	link: [],
	img: [],
};

export const parseConfig: ParseConfig[] = [
	{
		tag: "script",
		name: "src",
	},
	{
		tag: "link",
		name: "href",
	},
	{
		tag: "img",
		name: "src",
	},
];
